// TODO: i18n message

const genValidConfig = (name: string) => {
  const config = [
    { required: true, message: `${name} is required` },
  ];
  return config;
};
export { genValidConfig };
